package cn.linstudy.product.feign;

import cn.linstudy.common.to.SkuFullReductionTo;
import cn.linstudy.common.to.SpuBoundTo;
import cn.linstudy.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Description
 * @Date 2023/1/22
 * @Author XiaoLin
 */
@FeignClient("mall-coupon")
public interface CouponFeignService {

    @PostMapping("/coupon/spubounds/save")
    R saveSpuBounds(@RequestBody SpuBoundTo spuBoundTo);

    @PostMapping("/coupon/skufullreduction/saveInfo")
    R saveSkuFullReduction(@RequestBody SkuFullReductionTo skuFullReductionTo);
}
